package com.krause.marinechart.iso8211;

public class Utils {

	protected static int byteToInt (byte[] byteArray, int startByte, int length) {
		return Integer.parseInt(new String(byteArray, startByte, length));
	}
	
	protected static int byteToInt (byte[] byteArray) {
		return Integer.parseInt(new String(byteArray));
	}
	
}
